![]() |
SubPt |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Subtracts the coordinates of one point from another.
void SubPt ( Point src, Point *dst );
A point, the coordinates of which are to be subtracted from those specified in the dstPt parameter.
A pointer to a point. On return, this value contains the result of subtracting the coordinates of the point in the srcPt parameter from the coordinates of the point you supplied in the dstPt parameter.
To get the results of coordinate subtraction returned as a function result, you can instead use the DeltaPoint function. Note, however, that the parameters in these two functions are reversed.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)